package JavaProExample2;

public class Person {
	String name;
	public String getName(){
		return name;
	}
	public void setName(String name){
		this.name=name;
	}
	public Product buy(Market market, String productName){
		return market.sell(productName);
	}
}
